package com.rxh.service.impl.merchant;

import com.rxh.mapper.merchant.MerchantRateMapper;
import com.rxh.pojo.merchant.MerchantRate;
import com.rxh.service.base.AbstractBaseService;
import com.rxh.service.merchant.MerchantRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantRateServiceImpl extends AbstractBaseService<MerchantRate, Integer> implements MerchantRateService {
    private final MerchantRateMapper merchantRateMapper;

    @Autowired
    public MerchantRateServiceImpl(MerchantRateMapper merchantRateMapper) {
        this.merchantRateMapper = merchantRateMapper;
        setMapper(merchantRateMapper);
    }
}